package com.ruoyi.nurse.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 护工排班对象 nurse_schedule
 * 
 * @author ruoyi
 * @date 2025-03-26
 */
public class NurseSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排班记录ID */
    private Long scheduleId;

    /** 养老院名称 */
    @Excel(name = "养老院名称")
    private String communityName;

    /** 护工姓名 */
    @Excel(name = "护工姓名")
    private String nurseNames;

    /** 工作楼栋 */
    @Excel(name = "工作楼栋")
    private String houseName;

    /** 上班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 下班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setScheduleId(Long scheduleId) 
    {
        this.scheduleId = scheduleId;
    }

    public Long getScheduleId() 
    {
        return scheduleId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setNurseNames(String nurseNames) 
    {
        this.nurseNames = nurseNames;
    }

    public String getNurseNames() 
    {
        return nurseNames;
    }
    public void setHouseName(String houseName) 
    {
        this.houseName = houseName;
    }

    public String getHouseName() 
    {
        return houseName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scheduleId", getScheduleId())
            .append("communityName", getCommunityName())
            .append("nurseNames", getNurseNames())
            .append("houseName", getHouseName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("remarks", getRemarks())
            .toString();
    }
}
